#include <cellcsp.h>
#include <string>
#include <stdio.h>
#include <csp_debug.h>




int main(){
	char *file = "tasks/globalvars_task";
	char *mnemonic = "globalvars_task";
	printf("Running '%s'..\n", file);

	#ifndef KILL_SPU_AFTER_1_JOB
	ASSERT(0);
	#endif
	ASSERT(NUMTHREADS >= 5);


	CSPConfig conf;

	conf.add_csp_program(file, mnemonic);


	CellCSP_start(conf);

	
	CSPProcess init(mnemonic);
	init.Run();

	CellCSP_end();
	
	printf("Terminating %s.\n", mnemonic);
	return 0;
}
